Skip to content

Preserve dictations and warn when recording is interrupted - #10

Merged
ichen27 merged 1 commit into
mainfrom
fix/durable-dictation-recovery
Oct 25, 2026
Merged

ichen27 merged 1 commit into
mainfrom
fix/durable-dictation-recovery

Conversation

@ichen27

@ichen27 ichen27 commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Summary

Recording interruptions and restarts could silently lose dictations: transcript history defaulted to memory only, and unfinished audio was deleted when released.

 recording ends
+ show a persistent warning on unexpected stops
+ transcribe available interrupted audio for review
+ save transcript locally before insertion
 insertion or recovery completes
- lose unfinished audio on quit/new dictation
+ retain failed/paused audio under Saved Recordings

History is now enabled by default without pruning; existing explicit history-off preferences are respected. Quit confirmation and low-storage warnings explain when recording may end. Normal recording-bar size stays unchanged.

Evidence

  • Before: RecoveryChecks failed: unfinished recording deleted on owner release, preventing restart recovery.
  • After: Native lifecycle tests cover durable discovery, transcript persistence before paste, interrupted auto-save without paste, disk/network failures, quitting/new recordings, explicit discard and cancelled requests. Existing 601-second segmentation and shortcut tests pass.
  • Release build, strict signature verification and distribution privacy scan passed.
  • Synthetic render of the actual warning. No physical microphone interruption test is claimed.

Merge Danger

Door: Two-way

Blast Radius: Dictation

Audio and transcripts now persist locally until successful completion or explicit deletion. History-off remains available. Damaged/unfinalized files after a crash can remain untranscribable; they are retained rather than silently deleted. No backend deployment or routing changes.

@ichen27
ichen27 merged commit 6ecf2dc into main Oct 25, 2026
3 checks passed
@ichen27
ichen27 deleted the fix/durable-dictation-recovery branch October 25, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant